package com.yiyi.credit.manage.model.po;

import com.yiyi.credit.manage.model.entity.Product;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;

@ApiModel
public class ProductPo<T extends Product> extends BasePo<T> {

    @ApiParam(value = "产品编号")
    private String productNo;

    @ApiParam(value = "产品名称")
    private String productName;

    @ApiParam(value = "产品状态（0：待发布，1：已发布，2：退回修改，3：已拒绝，4：已下架）")
    private Integer status;

    @ApiParam(value = "主站产品的Id")
    private Long mainProductId;

    @ApiParam(value = "产品类型（1：集合标产品，2，散标产品）")
    private Integer type;

    private Integer source;


    private String statuss;


    private String order;


    private Long substationId;

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getMainProductId() {
        return mainProductId;
    }

    public void setMainProductId(Long mainProductId) {
        this.mainProductId = mainProductId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getStatuss() {
        return statuss;
    }

    public void setStatuss(String statuss) {
        this.statuss = statuss;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public Long getSubstationId() {
        return substationId;
    }

    public void setSubstationId(Long substationId) {
        this.substationId = substationId;
    }
}
